package com.flysh.host.service;

import java.util.List;

import com.flysh.host.dao.MenuDao;
import com.flysh.host.dao.MenuDaoImpl;
import com.flysh.host.model.Menu;

public class MenuManagerServiceImpl implements MenuManagerService{
	
	private MenuDao menuDao = new MenuDaoImpl();
	
	public List<Menu> getMenusByRoleId(Long id) {
		return menuDao.getMenusByRoleId(id);
	}

	public String getMenusByRoleId(List<Menu> list) {
		return null;
	}

	@Override
	public List<Menu> getMenusByPId(Long id) {
		return menuDao.getMenusByPId(id);
	}

}
